<%--
  User: ercha
  Date: 2015/10/17 17:15
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<!--jQuery -->
<script src="//cdn.bootcss.com/jquery/2.1.4/jquery.min.js"></script>

<!--Bootstrap -->
<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="//cdn.bootcss.com/modernizr/2.8.3/modernizr.min.js"></script>

<!-- MetisMenu -->
<script src="//cdn.bootcss.com/metisMenu/2.2.0/metisMenu.min.js"></script>

<!-- Screenfull -->
<script src="//cdn.bootcss.com/screenfull.js/2.0.0/screenfull.min.js"></script>

<!-- Metis core scripts -->
<script src="${ctx}/assets/js/metisCore.min.js"></script>

<!-- sweetalert -->
<script src="//cdn.bootcss.com/sweetalert/1.1.0/sweetalert.min.js"></script>

<!-- bootstrap-inputfile -->
<!-- canvas-to-blob 必须在 fileinput 之前，fileinput_locale_zh 必须在其之后 -->
<script src="${ctx}/assets/js/bootstrap-fileinput/plugins/canvas-to-blob.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap-fileinput/4.2.7/js/fileinput.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap-fileinput/4.2.7/js/fileinput_locale_zh.js"></script>

<!-- bootstrap table -->
<script src="//cdn.bootcss.com/bootstrap-table/1.9.1/bootstrap-table.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap-table/1.9.1/locale/bootstrap-table-zh-CN.min.js"></script>

<!-- 背景插件 -->
<%--<script src="//cdn.bootcss.com/jquery-backstretch/2.0.4/jquery.backstretch.min.js"></script>--%>

<%--<script src="//cdn.bootcss.com/masonry/3.3.2/masonry.pkgd.min.js"></script>--%>

<!-- 等待图片加载的插件-->
<script src="//cdn.bootcss.com/jquery.imagesloaded/3.2.0/imagesloaded.pkgd.min.js"></script>

<!-- 瀑布流插件 -->
<script src="//cdn.bootcss.com/jquery.isotope/2.2.2/isotope.pkgd.js"></script>

<!-- 无限滚动 -->
<script src="//cdn.bootcss.com/jquery-infinitescroll/2.1.0/jquery.infinitescroll.min.js"></script>

<!-- 滚动事件监听 -->
<%--<script src="//cdn.bootcss.com/waypoints/4.0.0/jquery.waypoints.min.js"></script>--%>

<!-- 单选按钮 -->
<script src="//cdn.bootcss.com/bootstrap-switch/3.3.2/js/bootstrap-switch.min.js"></script>

<!-- 日历插件，本地化文件放在后面 -->
<script src="//cdn.bootcss.com/bootstrap-datepicker/1.5.0/js/bootstrap-datepicker.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap-datepicker/1.5.0/locales/bootstrap-datepicker.zh-CN.min.js"></script>


<!-- jquery-validate -->
<script src="//cdn.bootcss.com/jquery-validate/1.14.0/jquery.validate.min.js"></script>
<script src="${ctx}/assets/js/validateMessages_cn.js"></script>
<script>
    jQuery.validator.addMethod("username", function(value, element, param){
        var reg = /^([a-zA-z0-9]+)$/;
        return this.optional(element) || (reg.test(value));
    }, "只能输入字母和数字");
</script>

<!-- 自定义的共用 js -->
<script src="${ctx}/assets/js/common/const.js"></script>
<script src="${ctx}/assets/js/common/common.js"></script>
<script src="${ctx}/assets/js/common/init.js"></script>
<script src="${ctx}/assets/js/common/convert.js"></script>


